updating oE where
where
include io.e namespace io public function where(file_number fn)
retrieves the current file position for an opened file or device.
Parameters:
- fn : an integer, the handle to the file or device to query.
Returns:
An atom, the current byte position in the file.
Errors:
The target file or device must be open.
Comments:
The file position is is the place in the file where the next byte will be read from, or written to. It is updated by reads, writes and seeks on the file. This procedure always counts Windows end of line sequences (CR LF) as two bytes even when the file number has been opened in text mode.
Not Categorized, Please Help
|